package cn.mastor.serve.service;

import cn.mastor.basic.util.AjaxResult;
import cn.mastor.pet.domain.Pet;
import cn.mastor.serve.domain.Product;
import cn.mastor.basic.service.IBaseService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author itsource
 * @since 2022-11-03
 */
public interface IProductService extends IBaseService<Product> {

    Product getDetail(Long id);
    AjaxResult onsalePet(List<Long> ids);
    void offsale(List<Long> ids);

    void takeOeder(Long id);

    AjaxResult bayServe(Long id, HttpServletRequest request);
}
